﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.AdvertPlace.Model
{
    public class AdvertPlaceAdd : AdvertPlaceSet
    {
        /// <summary>
        /// 广告位类型
        /// </summary>
        [NullValidate("shop.advert.place.type.null")]
        [LenValidate("shop.advert.place.type.error", 3)]
        public string PlaceType { get; set; }

        /// <summary>
        /// 使用范围
        /// </summary>
        [EnumValidate("shop.advert.place.range.error", typeof(PageUseRange))]
        public PageUseRange UseRange { get; set; }
    }
}
